package com.beiding.workordersystem.system.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Setter
@Getter
@TableName("role_authority")
public class RoleAuthorityRelation {
    @TableId
    private String id;

    //角色id
    private String roleId;

    //权限id
    private String authorityId;

    //创建时间
    @JsonFormat(pattern="yyyy-MM-dd hh:mm:ss")
    private Date createTime;
}
